package com.victor.job;

import com.victor.common.security.annotation.EnableCustomConfig;
import com.victor.common.security.annotation.EnableRyFeignClients;
import com.victor.common.swagger.annotation.EnableCustomSwagger2;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author victor
 * @ClassName CrmJobApplication.java
 * @company
 * @Description 定时任务
 * @createTime 2022年11月14日 15:52:00
 */
@EnableCustomConfig
@EnableCustomSwagger2
@EnableRyFeignClients
@ComponentScan(basePackages = {"com.victor"})
@SpringBootApplication
@MapperScan(basePackages = "com.victor.job.mapper")
public class JobApplication {
    public static void main(String[] args) {
        SpringApplication.run(JobApplication.class, args);
    }
}
